﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MindASPCoreWebAPI.PoModel.SystemManager
{
    [Table("custadmin_db")]
    /// <summary>
    /// 客户管理
    /// </summary>
    public class CustAdminModel
    {
        /// <summary>
        /// 客户主键
        /// </summary>
        ///
         [Key]
        public int cust_id { get; set; }
        /// <summary>
        /// 客户姓名
        /// </summary>
        public string cust_name { get; set; }
        /// <summary>
        /// 客户英文姓名
        /// </summary>
        public string cust_englishname { get; set; }
        /// <summary>
        /// 客户性别
        /// </summary>
        public int cust_sex { get; set; }
        /// <summary>
        /// 公司表外键
        /// </summary>
        public int com_id { get; set; }
        /// <summary>
        /// 行业表外键
        /// </summary>
        public int com_ind_id { get; set; }
        /// <summary>
        /// 所属区域外键
        /// </summary>
        public int area_id { get; set; }
       
        /// <summary>
        /// 部门名称
        /// </summary>
        public string cust_depa { get; set; }
        /// <summary>
        /// 职位外键
        /// </summary>
        public int posi_id { get; set; }
      
        /// <summary>
        /// 详细职位
        /// </summary>
        public string cust_deta { get; set; }
        /// <summary>
        /// 分级主键
        /// </summary>
        public int leve_id { get; set; }
       
        /// <summary>
        /// 权力角测外键
        /// </summary>
        public int auth_id { get; set; }
     
        /// <summary>
        /// 语言外键
        /// </summary>
        public int lang_id { get; set; }
       
        /// <summary>
        /// 工作电话
        /// </summary>
        public string  lang_workphone { get; set; }
        /// <summary>
        /// ka表外键
        /// </summary>
       // public int com_ka_id { get; set; }
        /// <summary>
        /// 手机
        /// </summary>
        public string  cust_phone { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string cust_email { get; set; }
        /// <summary>
        /// 生日
        /// </summary>
        public DateTime cust_birt { get; set; }
        /// <summary>
        /// 邮政编码
        /// </summary>
        public string  cust_postal { get; set; }
        /// <summary>
        /// 腾讯销售
        /// </summary>
        public string  cust_market { get; set; }
        /// <summary>
        /// 爱好
        /// </summary>
        public string cust_hobby { get; set; }
        /// <summary>
        /// 客户价值描述
        /// </summary>
        public string  cust_desc { get; set; }
        /// <summary>
        /// 微信
        /// </summary>
        public string  cust_wecha { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime cust_create { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime cust_modi { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string  cust_remark { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        public string cust_update_name { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime cust_update_date { get; set; }
       

    }
}
